package auth

import "gitee.com/jack_zang/public-scripts/go/filebrowser/users"

// StorageBackend is a storage backend for auth storage.
type StorageBackend interface {
}

// Storage is a auth storage.
type Storage struct {
	back  StorageBackend
	users *users.Storage
}

// NewStorage creates a auth storage from a backend.
func NewStorage(back StorageBackend, userStore *users.Storage) *Storage {
	return &Storage{back: back, users: userStore}
}
